package com.blb.day14_bookms.entity;

import lombok.Data;

@Data
public class JsonResult {
    //状态码 0 失败 1 成功
    private int code;
    //数据
    private Object data;

    public JsonResult(int code, Object data) {
        this.code = code;
        this.data = data;
    }

    public JsonResult() {
    }
}
